import {get, postForm, postBlob, post,service,put} from '@/api/common-api';
// 数据源维护保存
export const pointSave = (params) => post('/xj-data-source/save', params);
export const pointDetail = (params) => get('/xj-data-source/detail', {params});
// 查询测点
export const getPointQuery=(params)=>get('/xj-measure/query',{params})
// 添加测点
export const xjMeasureAdd=(params)=>post('/xj-measure/add',params)
// 删除测点
export const xjMeasureDelete=(params)=>get('/xj-measure/delete', {params})
// 编辑测点
export const xjMeasureUpdate=(params)=>post('/xj-measure/update', params)
// 回显
export const xjMeasureDetail=(params)=>get('/xj-measure/detail', {params})

// 查询换流站
export const getXjSiteQuery=(params)=>get('/xj-site/list',{params})
// 添加换流站
export const xjSiteAdd=(params)=>post('/xj-site/add',params)
// 删除换流站
export const xjSiteDelete=(params)=>get('/xj-site/delete', {params})
// 编辑换流站
export const xjSiteUpdate=(params)=>post('/xj-site/update', params)
// 回显
export const xjSiteDetail=(params)=>get('/xj-site/detail', {params})
// 文件上传
export const sysFileUpload=(params)=>put('/sys-file/upload', params)
// 文件删除
export const sysFileDelete=(params)=>post('/sys-file/delete', params)
// 子模块状态维护列表
export const xjAssessList=(params)=>get('/xj-assess/list', {params})
// 初始化
export const xjAssessInitialize=(params)=>get('/xj-assess/initialize', {params})
// 设置执行标准
export const xjAssessSetSection=(params)=>post('/xj-assess/setSection', params)
// 桥臂状态维护列表
export const xjAssessArmList=(params)=>get('/xj-assess-arm/list', {params})
// 桥臂状态维护删除
export const xjAssessArmDelete=(params)=>get('/xj-assess-arm/delete', {params})
// 桥臂状态维护添加
export const xjAssessArmAdd=(params)=>post('/xj-assess-arm/add', params)
// 桥臂状态维护编辑
export const xjAssessArmUpdate=(params)=>post('/xj-assess-arm/update', params)
// 子模块状态评估列表
export const xjAssessValueList=(params)=>get('/xj-assess-valve/list', {params})
// 子模块状态评估删除
export const xjAssessValueDelete=(params)=>get('/xj-assess-valve/delete', {params})
// 子模块状态评估添加
export const xjAssessValueAdd=(params)=>post('/xj-assess-valve/add', params)
// 子模块状态评估编辑
export const xjAssessValueUpdate=(params)=>post('/xj-assess-valve/update', params)



// 添加换流阀
export const xjValveAdd=(params)=>post('/xj-valve/add', params)
// 编辑换流阀
export const xjValveUpdate=(params)=>post('/xj-valve/update', params)
// 删除换流阀
export const xjValveDelete=(params)=>get('/xj-valve/delete', {params})
// 回显换流阀
export const xjValveDetail=(params)=>get('/xj-valve/detail', {params})


// 桥臂列表
export const xjArmList=(params)=>get('/xj-arm/list', {params})
// 删除桥臂
export const xjArmDelete=(params)=>get('/xj-arm/delete', {params})
// 回显桥臂
export const xjArmDetail=(params)=>get('/xj-arm/detail', {params})
// 更新桥臂
export const xjArmUpdate=(params)=>post('/xj-arm/update', params)
// 新增桥臂
export const xjArmAdd=(params)=>post('/xj-arm/add', params)

// 子模块列表
export const xjModelList=(params)=>get('/xj-model/list', {params})
// 删除子模块
export const xjModelDelete=(params)=>get('/xj-model/delete', {params})
// 回显子模块
export const xjModelDetail=(params)=>get('/xj-model/detail', {params})
// 更新子模块
export const xjModelUpdate=(params)=>post('/xj-model/update', params)
// 新增子模块
export const xjModelAdd=(params)=>post('/xj-model/add', params)


// 设备关联测点表回显
export const xjMeasureDeviceDetail=(params)=>get('/xj-measure-device/detail', {params})
// 设备关联测点表回显
export const xjMeasureDeviceAdd=(params)=>post('/xj-measure-device/add', params)
// 设备关联测点表回显
export const ImportVariate=(params)=>post('/xj-measure/importVariate', params)




